/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.runtime.metadata.tables;

import com.farmcode.api.runtime.metadata.Child;
import java.io.Serializable;

/**
 *
 * @author oiprado
 */
public class Reference extends Child implements Serializable{

    private String table;
    private String field;
    private String pkTable;

    public Reference(String table, String field, String pkTable) {
        this.table = table;
        this.field = field;
        this.pkTable = pkTable;
    }

    /**
     * @return the table
     */
    public String getTable() {
        return table;
    }

    /**
     * @param table the table to set
     */
    public void setTable(String table) {
        this.table = table;
    }

    /**
     * @return the field
     */
    public String getField() {
        return field;
    }

    /**
     * @param field the field to set
     */
    public void setField(String field) {
        this.field = field;
    }

  /**
   * @return the pkTable
   */
  public String getPkTable() {
    return pkTable;
  }

  /**
   * @param pkTable the pkTable to set
   */
  public void setPkTable(String pkTable) {
    this.pkTable = pkTable;
  }
}
